﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace StockMatch.WebSite.Areas.Admin.Controllers
{
    public class HomeController : AdminControllerBase
    {
        public ActionResult Index()
        {
            return View();
        }

        #region 安全退出

        public ActionResult LoginOut()
        {
            Response.RemoveCookie(WebConfig.AdminCookieName);
            return RedirectToAction("Index", "Home");
        }

        #endregion
    }
}
